import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';

import { ReportFormPage } from '../reportform/reportform'
import {Business }from './business/business';
import{ AllApp }  from './allApp/allApp';
@Component({
  selector: 'page-workspace',
  templateUrl: 'workspace.html'
})
export class WorkspacePage {

  constructor(public navCtrl: NavController) {

  }
  public ReportClick(event, item) {
    this.navCtrl.push(ReportFormPage, {
      item: item
    }, { animate: true, direction: 'forward' });
  }


  public addApp():void{
    this.navCtrl.push(AllApp);
 }
 public business():void{
    this.navCtrl.push(Business);
 }
}
